package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.BizCustomerRecruit;
import com.ruoyi.system.mapper.BizCustomerRecruitMapper;
import com.ruoyi.system.service.BizCustomerRecruitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BizCustomerRecruitServiceImpl implements BizCustomerRecruitService {

    @Autowired
    private BizCustomerRecruitMapper bizCustomerRecruitMapper;

    @Override
    public List<BizCustomerRecruit> selectCustomerRecruitList(BizCustomerRecruit customerRecruit) {
        return bizCustomerRecruitMapper.selectCustomerRecruitList(customerRecruit);
    }

    @Override
    public BizCustomerRecruit selectCustomerRecruitById(Long customerId) {
        return bizCustomerRecruitMapper.selectCustomerRecruitById(customerId);
    }

    @Override
    public int insertCustomerRecruit(BizCustomerRecruit customerRecruit) {
        return bizCustomerRecruitMapper.insertCustomerRecruit(customerRecruit);
    }
}
